<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>后台首页</title>
<link rel="stylesheet" href="../layui/css/layui.css">
<link rel="stylesheet" href="../css/public.css" media="all" />
<link rel="stylesheet" href="../css/index.css" media="all" />
<link rel="stylesheet" href="../layuiadmin/style/admin.css" media="all">
	<script type="text/javascript" src="../js/jquery-3.4.1.js"></script>
	<script type="text/javascript">
		$(document).ready(
				function display() {
					$.ajax({
						url: "../controller/number",
						type: "get",
						datatype: "json",
						success: function (data) {
							if (data === '') {
								alert("获取失败");
							} else {
								alert("获取成功");
								var parknumber = data;
								document.getElementById("parknumber").innerText = parknumber;
							}
						}
					})
				}
		)
		$(document).ready(
				function display1() {
					$.ajax({
						url: "../controller/number1",
						type: "get",
						datatype: "json",
						success: function (data) {
							if (data === '') {
								alert("获取失败");
							} else {
								alert("获取成功");
								var parknumber = data;
								document.getElementById("parknumber1").innerText = parknumber;
							}
						}
					})
				}
		)
	</script>
</head>
<body class="loginBody">
	<div class="layui-fluid">
		<div class="layui-row layui-col-space15">
			<div class="layui-col-sm6 layui-col-md3">
				<div class="layui-card">
					<div class="layui-card-header">
						总计停车量 <span class="layui-badge layui-bg-blue layuiadmin-badge">周</span>
					</div>
					<div class="layui-card-body layuiadmin-card-list">
						<p class="layuiadmin-big-font" id="parknumber"></p>
<!--						<p>-->
<!--							总计访问量 <span class="layuiadmin-span-color">88万 <i-->
<!--								class="layui-inline layui-icon layui-icon-flag"></i></span>-->
<!--						</p>-->
					</div>
				</div>
			</div>

			<div class="layui-col-sm6 layui-col-md3">
				<div class="layui-card">
					<div class="layui-card-header">
						总收入 <span class="layui-badge layui-bg-green layuiadmin-badge">年</span>
					</div>
					<div class="layui-card-body layuiadmin-card-list">

						<p class="layuiadmin-big-font" id="parknumber1"></p>
<!--						<p>-->
<!--							总收入 <span class="layuiadmin-span-color">*** <i-->
<!--								class="layui-inline layui-icon layui-icon-dollar"></i></span>-->
<!--						</p>-->
					</div>
				</div>
			</div>

			<div class="layui-col-sm12">
				<div class="layui-card">
					<div style="position:relative;height:20px;border-bottom:2px solid #c0c0c0;margin-bottom: 10px;"></div>
					<div class="layui-card-body">
						<div class="layui-row">
							<div class="layui-col-sm4">
								<div class="layui-carousel layadmin-carousel layadmin-dataview">
									<h1>Hello,Manager</h1><br>
									<small>移动设备访问请扫描以下二维码：</small>
									<br> <img src="../images/qr_code.png" width="100%"
										style="max-width: 264px;">
								</div>
							</div>
							<div class="layui-col-sm8" style="margin-top: 30px;">
								<h1>达通停车场后台管理</h1><br>
								<br>
								<ol>
									<li>随着经济的发展和信息的飞速膨胀,拥有车的用户越来越多， 但是随之也带来了诸多不便,尤其是大城市内找停车位的问题。</li>
									<li>目前停车位缺口大的现实条件下,乱停乱放、抢车位等违法现象 不断增多,扰乱了社会秩序。</li>
									<li>众多安全措施不完善的停车场也应运而生,容易发生火灾等突发情况。</li>
									<li>因此,建立一个智慧停车场 管理系统来解决实时查询现有停车位、智能停车场安全制度的需求是迫不及待的。</li>
									<li>现代社会的发展趋势将趋向于移动终端的 愈发开发和普及,让寻找停车位的问题放在移动终端上解决将会</li>
									<li>使停车场管理走向智能化、数字化、现代化。</li>
								</ol>
							</div>
						</div>
					</div>
				</div>
			</div>

		</div>
	</div>
<!--	<script type="text/javascript">-->
<!--		-->
<!--	</script>-->

</body>
</html>